<script setup >
import useEditor  from '@c/useEditor/index.vue'
const isLoad = ref(false)
const answer = ref('')

onMounted(() => {
  isLoad.value = true
})
</script>

<template>
    <div>
        数据测试
      <template v-if="isLoad">
        <useEditor  :id="'editor_xjh_' + Math.floor(Math.random() * 10000)" class="w-100%" :height="200"
                    :value="answer" @change="answer = $event"></useEditor>

      </template>
    </div>
</template>

<style lang="scss" scoped>

</style>